package com.hnchances.controller;


import com.hnchances.service.ClassService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author xyp
 *
 */
@RestController
@RequestMapping("/class")
public class ClassController {
    @Resource
    private ClassService classService;

    @GetMapping("/demo")
    public String demo (){
        return "123";
    }
}

